package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName ydd_advimg
 */
@TableName(value ="ydd_advimg")
@Data
public class Advimg implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 广告图位置，关联广告位id
     */
    @TableField(value = "advimgpos")
    private String advimgpos;

    /**
     * 广告图地址
     */
    @TableField(value = "advimgsrc")
    private String advimgsrc;

    /**
     * 广告图描述
     */
    @TableField(value = "advimgdesc")
    private String advimgdesc;

    /**
     * 广告图链接
     */
    @TableField(value = "advimglink")
    private String advimglink;

    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    @TableField(value = "default_data")
    private String default_data;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}